Woocommerce\Pagarme\Tests\Model\CustomerTest S

Total Complexity 14
Dependencies 9
Dependents 0
Total lines 320
Lines of code 204
Logical lines of code 147
Comment lines 0
Methods 14
Properties 0

Methods 14

Method Rating Maintainability Complexity Lines of code
testGetCardsWithTypesShouldReturnCards()
S
53 1 24
testGetPropertyWithCardPropertyShouldReturnValue()
S
53 1 23
testSetShouldDefineValidCardsPropertyValue()
S
55 1 21
testGetPagarmeCustomerIdShouldReturnPagarmeCustomerIdValue()
S
56 1 19
testGetCardsWithCardsPropertyShouldReturnCardsPropertyValue()
S
58 1 15
testGetWhenPropertyAlreadyExistsShouldPropertyValue()
S
59 1 14
testIssetShouldReturnValue()
S
59 1 14
testGetWhenPropertyDoesNotExistsShouldUserMetadataValue()
S
60 1 13
testSetShouldDefinePropertyValue()
S
60 1 13
testGetPropertyPropertyShouldReturnValue()
S
60 1 13
testGetCardsWithCustomerNotFoundShouldReturnNull()
S
62 1 12
testGetPagarmeCustomerIdWithCustomerNotFoundShouldReturnFalse()
S
62 1 12
setUp()
S
70 1 6
tearDown()
S
73 1 5